package com.wiz.boot.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wiz.boot.demo.dao.DemoMapper;
import com.wiz.boot.demo.entity.Demo;

@Service
public class DemoService {
	@Autowired
	private DemoMapper mapper;

	public Demo show(int id) {
		return mapper.show(id);
	}
}
